#if 0
/* this is the real-comments
 * not the function,
 * do not change the '0' to '1'
 *
 * the real-function is below the /* === */ line */

u8 SpecialRegAddr[] = {
            /* val */
    0x12,   /* 0x80 */
    0x13,   /* 0xe5 */
    0x3f,   /* 0xa6 */
    0x3a,   /* 0x00 */
    0x3e,   /* 0x02 */
}
#endif

/* real-function */
/* embedded in the end of ov9650_init_regs() */
/* change the '#if 0' to '#if 1' */
#if 0 /* This is the real function */
    /* read the regs value */
    int read_regs_value_counter;
    read_regs_value_counter  = 1;
    printk(KERN_ALERT"#### Now I'm checking the setted regs No.%d\n", read_regs_value_counter);
    for(i = 0; i < ARRAY_SIZE(regs); i++) {
        if(regs[i].subaddr == 0xff) {
            mdelay(regs[i].value);
            continue;
        }
        if(
                (regs[i].subaddr == 0x12 && regs[i].value == 0x80) ||
                (regs[i].subaddr == 0x13 && regs[i].value == 0xe5) ||
                (regs[i].subaddr == 0x3f && regs[i].value == 0xa6) ||
                (regs[i].subaddr == 0x3a && regs[i].value == 0x00) ||
                (regs[i].subaddr == 0x3e && regs[i].value == 0x02))
            continue;
        else {
            u8 RegAddr;
            u8 RegVal;

            RegAddr = regs[i].subaddr;
            RegVal = sccb_read(OV9650_SCCB_ADDR, RegAddr);
            if(!(regs[i].value == RegVal))
                printk(KERN_ALERT"Reg address 0x%02X, reading value is 0x%02X, expected 0x%02X\n", RegAddr, RegVal, regs[i].value);
        }
    }
    printk(KERN_ALERT"###########################################");
#endif
